<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <META HTTP-EQUIV="expires" CONTENT="0">
    <title></title>
    <script type="text/javascript" src="../../js/commonCss.js"></script>
    <link rel="stylesheet" type="text/css" href="../../styles/common.css" />
</head>
<body>
<form class="form-inline definewidth m20 " role="form">
    <div class="form-group w200 mb10">
        <div class="input-group">
            <div class="input-group-addon">开始时间</div>
            <input type="text" class="form-control" value="" id="startDate">
        </div>
    </div>
    <div class="form-group w200 mb10">
        <div class="input-group">
            <div class="input-group-addon">结束时间</div>
            <input type="text" class="form-control" value="" id="endDate">
        </div>
    </div>
    <div class="form-group w200 mb10">
        <div class="input-group">
            <div class="input-group-addon">员工名称</div>
            <input type="text" name="employ_name" class="form-control" id="employ_name">
        </div>
    </div>

    <div class="form-group mb10">
        <button type="button" class="btn btn-primary" id="search">查询</button>
    </div>
</form>

<div class="definewidth">
    <table id="table" class="table table-bordered table-hover m10"></table>
</div>

<script type="text/javascript" src="../../js/commonJs.js"></script>
<script type="text/javascript" src="../../scripts/Staff/list.js?t=20170810"></script>
<script type="text/javascript" src="../../assets/js/bui-min.js"></script>
<script type="text/javascript" src="../../assets/js/config-min.js"></script>
<script type="text/javascript">
    BUI.use('common/page');
</script>
<script type="text/javascript">
    document.onkeydown=function(event){
        var e = event || window.event || arguments.callee.caller.arguments[0];
        if(e && e.keyCode==13){ // enter 键
            document.getElementById('search').click();
            return false;
        }
    };
    $(function () {
        $('#startDate').datepicker({
            language: 'zh-CN',
            format: 'yyyy-mm-dd',
            autoclose:true
        });
        $('#endDate').datepicker({
            language: 'zh-CN',
            format: 'yyyy-mm-dd',
            autoclose:true
        });
    });
</script>
</body>
</html>